package com.mansoor.app.islamicnames.dao;

import com.mansoor.app.islamicnames.beans.Name;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: Mansoor
 * Date: Oct 14, 2009
 * Time: 11:05:37 PM
 * To change this template use File | Settings | File Templates.
 */
public interface NamesDao
{
    /**
     * Method getNames ...
     *
     * @param alphabets of type String
     * @param page of type Integer
     * @return List<Name>
     */
    List<Name> getNames(String alphabets,Integer page);

    /**
     * Method getNames ...
     *
     * @param alphabets of type String
     * @param gende of type String
     * @param pager of type Integer
     * @return List<Name>
     */
    List<Name> getNames(String alphabets, String gende,Integer pager);

    /**
     * Method getName ...
     *
     * @param name of type String
     * @return Name
     */
    Name getName(String name);





     /**
      * Method count ...
      *
      * @param alphabets of type String
      * @return Integer
      */
     Integer count(String alphabets);

    /**
     * Method count ...
     *
     * @param alphabets of type String
     * @param gender of type String
     * @return Integer
     */
    Integer count(String alphabets, String gender);

}
